package com.yunxi.dao.sys;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.sys.User;
import com.yunxi.sys.pojo.UserVO;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapperPlus<User> {

    UserVO getByMapCus(Map map);

    //根据公司ID查询用户
    List selectUserByCompanyId(Map map);

    List<User> findPageByList(Map<String, Object> map);

    List findBydeptList(Map map);

    void updateBecomeRegularDate(Long id);

    // 查询未绑定员工工资方案的人员
    List<Map> selectNoBindUserById(Map<String, Object> map);

    // 通过公司ID查询公司人数
    Integer countByCompanyId(Long id);

    List<User> getUsersByList(List list);

    List<User> listByGroupId(String groupId);

    UserVO getByUserCode(Map userCode);

    UserVO getCasId(String id);

    UserVO findPdaUserByUserCode(Map map);


}